import storage from './storage'

const TOKEN = 'HEIMA_TOUTIAO_YOKEN'

const HISTORY = 'HEIMA_TOUTIAO_HISTORY'

export const setToken = (value) => storage.set(TOKEN, value)
export const getToken = () => storage.get(TOKEN)
export const removeToken = () => storage.remove(TOKEN)

export const setHistory = (value) => storage.set(HISTORY, value)
export const getHistory = () => storage.get(HISTORY)
export const removeHistory = () => storage.remove(HISTORY)
